using System;
using EZCRS.HCMS.Web;

namespace EZCRS.HCMS.Web.manage.carduser
{
    public partial class upgrade_list : ManageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            AjaxPro.Utility.RegisterTypeForAjax(typeof(EZCRS.HCMS.myajax.CardUserUpgrade));

            if (!Page.IsPostBack)
            {
                bstart.Attributes.Add("onclick", "event.cancelBubble=true;showCalendarTA('bstart',false,'bstart','bstart',null);");
                bstart.Attributes.Add("onblur", "if(!chkdate(this.value))this.value='yyyy-MM-dd';");
                bend.Attributes.Add("onclick", "event.cancelBubble=true;showCalendarTA('bend',false,'bend','bend',null);");
                bend.Attributes.Add("onblur", "if(!chkdate(this.value))this.value='yyyy-MM-dd';");
            }
        }
    }
}
